package tech.aistar.service;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import tech.aistar.entity.Concern;

import java.util.List;

public interface IConcernService {

    List<Concern> selectAll();

    void insert(Concern concern);
      void  updateByPrimaryKey(Concern concern);
  void deleteByPrimaryKey(Integer id);

    List<Concern> selectBytenantId(Integer tenantId);

    int deleteById(Integer id);

    Concern selectById(Integer tenantId,Integer houseId);
    void deleteByDoubleId(Integer tenantId,Integer houseId);
}
